//一般直接写在一个js文件中
layui.use(['layer', 'form','common'], function(){
    var layer = layui.layer
    ,form = layui.form;

    console.log(layui.common)

    layer.msg('Hello World');
});